﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vit.Database.DataAccess
{
    public class Resources33
    {
        public const string ExceptionParameterDiscoveryNotSupportedOnGenericDatabase = "ExceptionParameterDiscoveryNotSupportedOnGenericDatabase";
        public const string AsyncOperationsNotSupported = "AsyncOperationsNotSupported";
        public const string ExceptionNullOrEmptyString = "ExceptionNullOrEmptyString";
        public const string ExceptionParameterDiscoveryNotSupported = "ExceptionParameterDiscoveryNotSupported";
        public const string ExceptionColumnNotFoundWhileMapping = "ExceptionColumnNotFoundWhileMapping";
        public const string ExceptionCannotCreateRowMapping = "ExceptionCannotCreateRowMapping";
        public const string ExceptionConvertionFailedWhenMappingPropertyToColumn = "ExceptionConvertionFailedWhenMappingPropertyToColumn";
        public const string ExceptionSqlStringAccessorCannotDiscoverParameters = "ExceptionSqlStringAccessorCannotDiscoverParameters";
        public const string ExceptionMessageUpdateDataSetRowFailure = "ExceptionMessageUpdateDataSetRowFailure";
        public const string ExceptionArgumentMustBePropertyExpression = "ExceptionArgumentMustBePropertyExpression";
        public const string ExceptionMessageUpdateDataSetArgumentFailure = "ExceptionMessageUpdateDataSetArgumentFailure";
        public const string ExceptionTableNameArrayEmpty = "ExceptionTableNameArrayEmpty";
        public const string ExceptionMessageParameterMatchFailure = "ExceptionMessageParameterMatchFailure";
        public const string ExceptionCommandNotSqlCommand = "ExceptionCommandNotSqlCommand";

        #region ILocaleSet Members

        public IEnumerable<string> LocaleResources
        {
            get
            {
                return new string[]
                {
                    ExceptionParameterDiscoveryNotSupportedOnGenericDatabase,
                    AsyncOperationsNotSupported,
                    ExceptionNullOrEmptyString,
                    ExceptionParameterDiscoveryNotSupported,
                    ExceptionColumnNotFoundWhileMapping,
                    ExceptionCannotCreateRowMapping,
                    ExceptionConvertionFailedWhenMappingPropertyToColumn,
                    ExceptionSqlStringAccessorCannotDiscoverParameters,
                    ExceptionMessageUpdateDataSetRowFailure,
                    ExceptionArgumentMustBePropertyExpression,
                    ExceptionMessageUpdateDataSetArgumentFailure,
                    ExceptionTableNameArrayEmpty,
                    ExceptionMessageParameterMatchFailure,
                    ExceptionCommandNotSqlCommand
                };
            }
        }

        #endregion

        #region INaming Members

        public string Name { get { return "Vit.Data.Resources"; } set { } }

        public string DisplayName { get { return "Vit.Data.Resources"; } set { } }

        #endregion
    }
}
